//
//  JZHFocusType.m
//  极致荟
//
//  Created by hetao on 14-7-31.
//  Copyright (c) 2014年 mac. All rights reserved.
//

#import "JZHFocusType.h"

@implementation JZHFocusType

///返回用于网络请求的对应类型
- (NSString *)tyepString:(FocusType)ft
{
    switch (ft) {
        case ProfessionType:
            return @"profession";
            break;
        case JopType:
            return @"job";
            break;
        case CityType:
            return @"city";
            break;
        case NewType:
            return @"new";
            break;
        case SameCityType:
            return @"sameCity";
            break;
        default:
            break;
    }
}

- (NSString *)tyepChinaes:(FocusType)ft
{
    switch (ft) {
        case ProfessionType:
            return @"行业筛选";
            break;
        case JopType:
            return @"职业筛选";
            break;
        case CityType:
            return @"地区筛选";
            break;
        case NewType:
            return @"新鲜人脉";
            break;
        case SameCityType:
            return @"同城附近";
            break;
        default:
            break;
    }

}
+ (id)defulType:(int)type
{
    JZHFocusType *ft;
    if(!ft)
    {
        ft=[[JZHFocusType alloc]init];
        ft.focusType=type;
    }
    return ft;
}
@end
